[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
BTS Bit Test and Set (386) Flags: O D I T S Z A P C
*
BTS destination, source
Logic: CF . bit, bit . 1
The Bit Test instructions manipulate individual bits. The source
operand specifies the bit position in the destination operand. BTS
copies that bit to the carry flag and then sets it (makes it 1) in
destination.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
BTS register, immediate8 6 (386) - 3 BTS AX,3
BTS memory, immediate8 8 (386) - 3 BTS MEMLOC,3
BTS register, register 6 (386) - 3 BTS AX,BX
BTS memory, register 13 (386) - 3 BTS MEMLOC,AX
--------------------------------------------------------------------------
Note: Both memory and register operands can be either
16 bits or 32 bits.
See Also:
BSF
BSR
BT
BTC
BTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson